﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace rtgen_guiclient
{
//    using Microsoft.VisualBasic.ApplicationServices;
  //  using System;

    internal static class Program
    {
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }
        /*
        private class App : WindowsFormsApplicationBase
        {
            public App()
            {
                base.IsSingleInstance = true;
                base.EnableVisualStyles = true;
                base.ShutdownStyle = ShutdownMode.AfterMainFormCloses;
                base.StartupNextInstance += new StartupNextInstanceEventHandler(this.SIApp_StartupNextInstance);
            }

            protected override void OnCreateMainForm()
            {
                base.MainForm = new MainForm();
            }

            protected void SIApp_StartupNextInstance(object sender, StartupNextInstanceEventArgs eventArgs)
            {
            }
        }*/
    }
}

